//package com.qiyang.login.config;
//
//import com.netflix.loadbalancer.ClientConfigEnabledRoundRobinRule;
//import com.netflix.loadbalancer.IRule;
//import com.netflix.loadbalancer.RoundRobinRule;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//
///**
// * Created on 2018/5/11.
// *
// * @author seh
// * 描述：
// */
//@Configuration
//public class SpcConfiguration {
//
////    @Bean
////    public IRule ribbonRule() {
////
////        System.out.println(">>>>> 采用重写路由规则机制222");
////
////        return new ClientConfigEnabledRoundRobinRule();
////    }
//
//    @Bean
//    public RequestConcurrencyStrategy requestConcurrencyStrategy() {
//
//        System.out.println(">>>>> 重写启用新线程时，将Request传递到新线程中");
//
//        return new RequestConcurrencyStrategy();
//    }
//}
